package com.example.mvp.view.imgselector.album.previewimage;

import android.support.annotation.NonNull;

import com.example.mvp.view.imgselector.base.ImageBasePresenter;
import com.example.mvp.view.imgselector.base.ImageBaseView;
import com.example.mvp.view.imgselector.model.entity.ImageInfo;


/**
 * Created by lijunguan on 2016/4/24.
 * emial: lijunguan199210@gmail.com
 * blog: https://lijunguan.github.io
 */
public interface ImageContract {

    interface View extends ImageBaseView<PresenterImage> {

        void updateIndicator();

        void showOutOfRange(int position);

        void showSelectedCount(int count);
    }

    interface PresenterImage extends ImageBasePresenter {

        void selectImage(@NonNull ImageInfo imageInfo, int maxCount, int position);

        void unSelectImage(@NonNull ImageInfo imageInfo, int position);
    }

}
